home *** CD-ROM | disk | FTP | other *** search
- if(msg == "")
- {
- gotoAndStop("waiting");
- play();
- }
- else
- {
- if(msg == "top10")
- {
- var i = 0;
- while(i < 10)
- {
- var id = i + 1;
- _root["name" + id + "_txt"] = this["n" + i];
- _root["goals" + id + "_txt"] = this["s" + i];
- _root["desc" + id + "_txt"] = this["c" + i] + ", Age " + this["a" + i];
- i++;
- }
- _root.gotoAndStop("top10");
- }
- else
- {
- _root.msg_txt = msg;
- _root.gotoAndStop("serverMsg");
- }
- gotoAndStop(1);
- }
-